package CH7.内部类如何取名字;
public class   Layer1Class{
    interface  Layer2Interface
    {

    }
    class Layer2Class{
        public Layer2Class() {
            class Layer3Class{

            }
            Layer3Class  i = new Layer3Class();
        }
        public Layer2Class(int a) {
            class Layer3Class {

            }
            Layer3Class i = new Layer3Class();
        }
    }
    public void test1()    {
        Layer2Interface i =new Layer2Interface(){ };
    }
    public void test2()    {
        Layer2Interface i =new Layer2Interface(){ };
    }
    static class Layer2Class2 {
        public Layer2Interface test()  {
            return new Layer2Interface() { };
        }
    }
    public static void main(String[] args) {

    }

}
